package pers.vic.datasource.configuration;

//import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.Profile;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:datasource-config.properties")
@ImportResource(locations = {"classpath:spring-mybatis.xml", "classpath:spring-redis.xml"})
//@Conditional(value = { null })
//ConditionalOnProperty
@Profile(value = "no-redis")
public class ConfigurationOfDatasource {
}
